import axios, { CreateAxiosDefaults } from "axios";

const options: CreateAxiosDefaults = {
  baseURL: `${process.env.NEXT_PUBLIC_API_URL}/api`,
};

const instance = axios.create(options);
export const apiReq = instance;
